﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChurchData
{
    class ChurchGrid : System.Windows.Forms.DataGridView
    {
        public ChurchGrid()
        {
            this.AllowDrop = false;
            this.AllowUserToAddRows = false;
            this.AllowUserToDeleteRows = false;
            this.AllowUserToResizeRows = false;
            this.ReadOnly = true;
            this.RowHeadersVisible = false;
            this.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.MultiSelect = false;
            this.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
        }
    }
}